package com.bq.server.enumeration;

import lombok.Getter;

/**
 * 性别
 * @author: ChenSH
 * @date: Create by in 15:19 2019-03-29
 */
@Getter
public enum GenderEnum implements Enumeration {

    UNKNOWN(0, "未知"),

    MAN(1, "男"),

    WOMAN(2, "女");


    private final Integer code;

    private final String describe;

    GenderEnum(Integer code, String describe) {
        this.code = code;
        this.describe = describe;
    }


    @Override
    public Integer value() {
        return code;
    }

    @Override
    public String describe() {
        return describe;
    }

}
